var schedule = require('node-schedule');
var rule = new schedule.RecurrenceRule();
rule.second = 0;
var c=0;
var j = schedule.scheduleJob(rule, function(){
    c++;
    console.log(c);
});